package com.kc.business.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;
@Data
@Table(name = "kc_scenic_site_video")
public class BizSiteVideo {
    /*景点视频主键id*/
    @Id
    private Integer id;
    /*图片，多张图以","分割的不对外显示*/
    @JsonIgnore
    @Transient
    private String image = "";
    private String videoImg = "";
    /*图片尺寸相关数据*/
    @JsonIgnore
    @Transient
    private String imgageAttr = "";
    /*图片列表，上面图片字符串拆分,此字段不写入数据表*/
    /*标题*/
    private String title = "";
    /*简介*/
    @Transient
    private String synopsis = "";
    private String content = "";
    /*视频地址*/
    @Transient
    private String videoUrl = "";
    private String video = "";
    /*视频时长*/
    private Integer videoTime = 0;
    /*提交时间*/
    @JsonIgnore
    private Date createTime = new Date();
    /*状态:0待审核，1已审核，2已拒绝*/
    private Integer status = 0;
    @Transient
    private String statusName = "";
    /*创作时间*/
    @Transient
    private String creationTime = "";
    /*创作地点*/
    @Transient
    private String creationAddress = "";
    /*创作者昵称*/
    @Transient
    private String nickname = "";
    /*创作者id*/
    private Integer userId = 0;
    /*主体id,景区景点id*/
    @JsonIgnore
    @Transient
    private Integer themeId = 0;
    private Integer siteId = 0;
    /*是否官方*/
    private Integer isOfficial = 0;
}
